package com.xjie.mall.goods.service.impl;


import com.xjie.mall.goods.mapper.SkuAttributeMapper;
import com.xjie.mall.goods.model.SkuAttribute;
import com.xjie.mall.goods.service.SkuAttributeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * <p>
 * 商品属性表 服务实现类
 * </p>
 *
 * @author xjie
 * @since 2025-10-17
 */
@Service
public class SkuAttributeServiceImpl extends ServiceImpl<SkuAttributeMapper, SkuAttribute> implements SkuAttributeService {

    @Override
    public List<SkuAttribute> queryList(Integer id) {
        return this.baseMapper.queryByCategoryId(id);
    }
}
